# -*- coding: utf-8 -*-
"""
author:码同学 极光
date:16
desc: 
sample: 
"""
from rest_framework.routers import SimpleRouter

from .views import EnvInfoModelViewSet, ProjectInfoViewSet, ModuleInfoViewSet, TestApiInfoViewSet, TestApiResultViewSet, \
    TestCaseViewSet

router = SimpleRouter()
router.register("apitest/envInfo", EnvInfoModelViewSet)
router.register("apitest/projectInfo", ProjectInfoViewSet)
router.register("apitest/moduleInfo", ModuleInfoViewSet)
router.register("apitest/testApiInfo", TestApiInfoViewSet)
router.register("apitest/testApiResult", TestApiResultViewSet)
router.register("apitest/testcase", TestCaseViewSet)

urlpatterns = [
]
urlpatterns += router.urls